/*
 * Aviso.java
 *
 * Created on 10 de abril de 2008, 02:58 PM
 */

package mascotrin;

/**
 *
 * @author  PcAbajo
 */
public class Aviso extends javax.swing.JPanel {
    
    /** Creates new form Aviso */
    public Aviso() {
        initComponents();
        Carga();
    }
     
    public void Carga()
    {
         String SQL;
         SQL = "select * from avisos";
         ConsultasSQL sqlCV = new ConsultasSQL(SQL,jTable1);
         jTable1.setEnabled(false);
    }
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();

        setLayout(new java.awt.BorderLayout());

        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {},
                {},
                {},
                {}
            },
            new String [] {

            }
        ));
        jScrollPane1.setViewportView(jTable1);

        add(jScrollPane1, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTable jTable1;
    // End of variables declaration//GEN-END:variables
    
}
